package com.example.cmh.mapper;

import com.example.cmh.pojo.position;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface PositionMapper {
    List<position> getAllPositions();
    position getPositionById(@Param("positionId") Integer positionId);
    void addPosition(position position);
    void updatePosition(position position);
    void deletePosition(@Param("positionId") Integer positionId);
} 